<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>uCXpresso.BLE: usb_cdc.h Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../upnp.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">uCXpresso.BLE
   &#160;<span id="projectnumber">v1.0.4</span>
   </div>
   <div id="projectbrief">RTOS C++ Framework for Bluetooth Low Energy</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../modules.html"><span>Modules</span></a></li>
      <li><a href="../../annotated.html"><span>Classes</span></a></li>
      <li><a href="../../examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('d5/d64/usb__cdc_8h_source.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Groups</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">usb_cdc.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> ===============================================================================</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> Name        : usb_cdc.h</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> Author      : uCXpresso</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> Version     : v1.0.1</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> Date        : 2014/3/18</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> Copyright   : Copyright (C) www.embeda.com.tw</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> Description : USB CDC (virtual comm. port) driver</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> ===============================================================================</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">                                 History</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> ---------+---------+--------------------------------------------+-------------</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> DATE     | VERSION |   DESCRIPTIONS                             |  By</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> ---------+---------+--------------------------------------------+-------------</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> 2014/1/1   v1.0.0  First Edition for nano11Uxx                     Jason</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> 2014/3/18  v1.0.1  Add semaphore for TX/RX fifo control.           Jason</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> ===============================================================================</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#ifndef _USB_CDC_H_</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define _USB_CDC_H_</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &quot;class/stream.h&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &quot;class/semaphore.h&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &quot;utils/fifo.h&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="../../dc/d53/struct_p_a_c_k___s_t_r_u_c_t.html#af565415de305bf011dc318681d3d3b1c">   27</a></span>&#160;  uint32_t <a class="code" href="../../dc/d53/struct_p_a_c_k___s_t_r_u_c_t.html#af565415de305bf011dc318681d3d3b1c">dwDTERate</a>;                            <span class="comment">/* Data terminal rate in bits per second */</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="../../dc/d53/struct_p_a_c_k___s_t_r_u_c_t.html#af0dec498fcd576e9db6b4447f5715c0a">   28</a></span>&#160;  uint8_t  <a class="code" href="../../dc/d53/struct_p_a_c_k___s_t_r_u_c_t.html#af0dec498fcd576e9db6b4447f5715c0a">bCharFormat</a>;                          <span class="comment">/* Number of stop bits */</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="../../dc/d53/struct_p_a_c_k___s_t_r_u_c_t.html#aa92cdd7b41d7748edc3695fd95fea81c">   29</a></span>&#160;  uint8_t  <a class="code" href="../../dc/d53/struct_p_a_c_k___s_t_r_u_c_t.html#aa92cdd7b41d7748edc3695fd95fea81c">bParityType</a>;                          <span class="comment">/* Parity bit type */</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="../../dc/d53/struct_p_a_c_k___s_t_r_u_c_t.html#a177009e8452a6c785662e422cc457824">   30</a></span>&#160;  uint8_t  <a class="code" href="../../dc/d53/struct_p_a_c_k___s_t_r_u_c_t.html#a177009e8452a6c785662e422cc457824">bDataBits</a>;                            <span class="comment">/* Number of data bits */</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;} <a class="code" href="../../dc/d53/struct_p_a_c_k___s_t_r_u_c_t.html">PACK_STRUCT</a> CDC_LINE_CODING_T;</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="../../d6/dc5/classusb_c_d_c.html">   37</a></span>&#160;<span class="keyword">class </span><a class="code" href="../../d6/dc5/classusb_c_d_c.html">usbCDC</a>: <span class="keyword">public</span> <a class="code" href="../../d4/d16/class_c_stream.html">CStream</a> {</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <a class="code" href="../../d6/dc5/classusb_c_d_c.html#a1972ca9b45b41d0e419a3e1263ddaac4">usbCDC</a>(<span class="keywordtype">int</span> FIFO_SIZE=32);</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../d6/dc5/classusb_c_d_c.html#a806fa3a4be9e6cfaab51b8621cb70697">enable</a>();</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../d6/dc5/classusb_c_d_c.html#a7ded774547bd49ca5f73257914a1f1f9">disable</a>();</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="../../d6/dc5/classusb_c_d_c.html#a15d235836f03a59a8d3a12ad5df78cd7">onSetLineCode</a>(CDC_LINE_CODING_T *line);</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="../../d6/dc5/classusb_c_d_c.html#ad20e467624da633a79b150a435667619">onCtrlLineState</a>(uint16_t state);</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="comment">// old style function call</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="../../d6/dc5/classusb_c_d_c.html#a49d431de50da7ccacf91ef33b04e99d2">   64</a></span>&#160;<span class="comment"></span>    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="../../d6/dc5/classusb_c_d_c.html#a49d431de50da7ccacf91ef33b04e99d2">connect</a>() { <span class="keywordflow">return</span> <a class="code" href="../../d6/dc5/classusb_c_d_c.html#a806fa3a4be9e6cfaab51b8621cb70697">enable</a>(); }</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="../../d6/dc5/classusb_c_d_c.html#aa95f819926a8da40f12eebc62adf6f95">   66</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="../../d6/dc5/classusb_c_d_c.html#aa95f819926a8da40f12eebc62adf6f95">disconnect</a>() { <span class="keywordflow">return</span> <a class="code" href="../../d6/dc5/classusb_c_d_c.html#a7ded774547bd49ca5f73257914a1f1f9">disable</a>(); }</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="comment">// implement the CStream virtual functions</span></div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">int</span>  <a class="code" href="../../d6/dc5/classusb_c_d_c.html#a7182c4dfdad0293bba73a82056d43e80">readable</a>();</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">int</span>  <a class="code" href="../../d6/dc5/classusb_c_d_c.html#ae45acb09392fedde912a5dba6fc3b88a">writeable</a>();</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">int</span>  <a class="code" href="../../d4/d16/class_c_stream.html#af56764abe8954430eede10e253f8994f">read</a>(<span class="keywordtype">void</span> *buf, <span class="keywordtype">int</span> len, <span class="keywordtype">bool</span> block=<span class="keyword">true</span>);</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">int</span>  <a class="code" href="../../d6/dc5/classusb_c_d_c.html#a340c728ca722a61a3a457a546a301dec">write</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *buf, <span class="keywordtype">int</span> len, <span class="keywordtype">bool</span> block=<span class="keyword">true</span>);</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="../../d6/dc5/classusb_c_d_c.html#a0c0cb27d108bed8763e68a4121efee32">isConnected</a>();</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="../../d6/dc5/classusb_c_d_c.html#afebca0ce341d46537cc6e2a811bede72">flush</a>();</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="comment">//private:</span></div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="comment"></span>    ~<a class="code" href="../../d6/dc5/classusb_c_d_c.html">usbCDC</a>();</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <span class="keywordtype">int</span>  on_usb_send();</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <span class="keywordtype">void</span> on_usb_recv();</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    xHandle     m_hUsb;</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    <a class="code" href="../../d0/d06/class_c_semaphore.html">CSemaphore</a>  m_semIrq;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    <a class="code" href="../../db/d53/structfifo__t.html">FIFO_T</a>      m_txFiFo;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    <a class="code" href="../../db/d53/structfifo__t.html">FIFO_T</a>      m_rxFiFo;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    uint16_t    m_state;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    uint32_t    m_flag;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    xHandle     m_hCdc;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    xHandle     m_irqTask;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    uint8_t     *abBulkBuf;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    uint32_t    pbuf;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <a class="code" href="../../d0/d06/class_c_semaphore.html">CSemaphore</a>  m_semTx;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <a class="code" href="../../d0/d06/class_c_semaphore.html">CSemaphore</a>  m_semRx;</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;};</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* USB_CDC_H_ */</span><span class="preprocessor"></span></div>
<div class="ttc" id="struct_p_a_c_k___s_t_r_u_c_t_html_af0dec498fcd576e9db6b4447f5715c0a"><div class="ttname"><a href="../../dc/d53/struct_p_a_c_k___s_t_r_u_c_t.html#af0dec498fcd576e9db6b4447f5715c0a">PACK_STRUCT::bCharFormat</a></div><div class="ttdeci">uint8_t bCharFormat</div><div class="ttdef"><b>Definition:</b> usb_cdc.h:28</div></div>
<div class="ttc" id="class_c_semaphore_html"><div class="ttname"><a href="../../d0/d06/class_c_semaphore.html">CSemaphore</a></div><div class="ttdef"><b>Definition:</b> semaphore.h:33</div></div>
<div class="ttc" id="classusb_c_d_c_html_a340c728ca722a61a3a457a546a301dec"><div class="ttname"><a href="../../d6/dc5/classusb_c_d_c.html#a340c728ca722a61a3a457a546a301dec">usbCDC::write</a></div><div class="ttdeci">virtual int write(const void *buf, int len, bool block=true)</div></div>
<div class="ttc" id="class_c_stream_html"><div class="ttname"><a href="../../d4/d16/class_c_stream.html">CStream</a></div><div class="ttdef"><b>Definition:</b> stream.h:27</div></div>
<div class="ttc" id="struct_p_a_c_k___s_t_r_u_c_t_html_a177009e8452a6c785662e422cc457824"><div class="ttname"><a href="../../dc/d53/struct_p_a_c_k___s_t_r_u_c_t.html#a177009e8452a6c785662e422cc457824">PACK_STRUCT::bDataBits</a></div><div class="ttdeci">uint8_t bDataBits</div><div class="ttdef"><b>Definition:</b> usb_cdc.h:30</div></div>
<div class="ttc" id="struct_p_a_c_k___s_t_r_u_c_t_html_aa92cdd7b41d7748edc3695fd95fea81c"><div class="ttname"><a href="../../dc/d53/struct_p_a_c_k___s_t_r_u_c_t.html#aa92cdd7b41d7748edc3695fd95fea81c">PACK_STRUCT::bParityType</a></div><div class="ttdeci">uint8_t bParityType</div><div class="ttdef"><b>Definition:</b> usb_cdc.h:29</div></div>
<div class="ttc" id="classusb_c_d_c_html_ad20e467624da633a79b150a435667619"><div class="ttname"><a href="../../d6/dc5/classusb_c_d_c.html#ad20e467624da633a79b150a435667619">usbCDC::onCtrlLineState</a></div><div class="ttdeci">void onCtrlLineState(uint16_t state)</div></div>
<div class="ttc" id="classusb_c_d_c_html_a7182c4dfdad0293bba73a82056d43e80"><div class="ttname"><a href="../../d6/dc5/classusb_c_d_c.html#a7182c4dfdad0293bba73a82056d43e80">usbCDC::readable</a></div><div class="ttdeci">virtual int readable()</div></div>
<div class="ttc" id="classusb_c_d_c_html_a7ded774547bd49ca5f73257914a1f1f9"><div class="ttname"><a href="../../d6/dc5/classusb_c_d_c.html#a7ded774547bd49ca5f73257914a1f1f9">usbCDC::disable</a></div><div class="ttdeci">bool disable()</div></div>
<div class="ttc" id="classusb_c_d_c_html_a1972ca9b45b41d0e419a3e1263ddaac4"><div class="ttname"><a href="../../d6/dc5/classusb_c_d_c.html#a1972ca9b45b41d0e419a3e1263ddaac4">usbCDC::usbCDC</a></div><div class="ttdeci">usbCDC(int FIFO_SIZE=32)</div></div>
<div class="ttc" id="classusb_c_d_c_html_a15d235836f03a59a8d3a12ad5df78cd7"><div class="ttname"><a href="../../d6/dc5/classusb_c_d_c.html#a15d235836f03a59a8d3a12ad5df78cd7">usbCDC::onSetLineCode</a></div><div class="ttdeci">void onSetLineCode(CDC_LINE_CODING_T *line)</div></div>
<div class="ttc" id="classusb_c_d_c_html"><div class="ttname"><a href="../../d6/dc5/classusb_c_d_c.html">usbCDC</a></div><div class="ttdef"><b>Definition:</b> usb_cdc.h:37</div></div>
<div class="ttc" id="struct_p_a_c_k___s_t_r_u_c_t_html_af565415de305bf011dc318681d3d3b1c"><div class="ttname"><a href="../../dc/d53/struct_p_a_c_k___s_t_r_u_c_t.html#af565415de305bf011dc318681d3d3b1c">PACK_STRUCT::dwDTERate</a></div><div class="ttdeci">uint32_t dwDTERate</div><div class="ttdef"><b>Definition:</b> usb_cdc.h:27</div></div>
<div class="ttc" id="classusb_c_d_c_html_a0c0cb27d108bed8763e68a4121efee32"><div class="ttname"><a href="../../d6/dc5/classusb_c_d_c.html#a0c0cb27d108bed8763e68a4121efee32">usbCDC::isConnected</a></div><div class="ttdeci">virtual bool isConnected()</div></div>
<div class="ttc" id="classusb_c_d_c_html_ae45acb09392fedde912a5dba6fc3b88a"><div class="ttname"><a href="../../d6/dc5/classusb_c_d_c.html#ae45acb09392fedde912a5dba6fc3b88a">usbCDC::writeable</a></div><div class="ttdeci">virtual int writeable()</div></div>
<div class="ttc" id="classusb_c_d_c_html_a49d431de50da7ccacf91ef33b04e99d2"><div class="ttname"><a href="../../d6/dc5/classusb_c_d_c.html#a49d431de50da7ccacf91ef33b04e99d2">usbCDC::connect</a></div><div class="ttdeci">bool connect()</div><div class="ttdef"><b>Definition:</b> usb_cdc.h:64</div></div>
<div class="ttc" id="classusb_c_d_c_html_aa95f819926a8da40f12eebc62adf6f95"><div class="ttname"><a href="../../d6/dc5/classusb_c_d_c.html#aa95f819926a8da40f12eebc62adf6f95">usbCDC::disconnect</a></div><div class="ttdeci">bool disconnect()</div><div class="ttdef"><b>Definition:</b> usb_cdc.h:66</div></div>
<div class="ttc" id="struct_p_a_c_k___s_t_r_u_c_t_html"><div class="ttname"><a href="../../dc/d53/struct_p_a_c_k___s_t_r_u_c_t.html">PACK_STRUCT</a></div><div class="ttdef"><b>Definition:</b> ble_devinfo.h:36</div></div>
<div class="ttc" id="classusb_c_d_c_html_afebca0ce341d46537cc6e2a811bede72"><div class="ttname"><a href="../../d6/dc5/classusb_c_d_c.html#afebca0ce341d46537cc6e2a811bede72">usbCDC::flush</a></div><div class="ttdeci">virtual void flush()</div></div>
<div class="ttc" id="structfifo__t_html"><div class="ttname"><a href="../../db/d53/structfifo__t.html">fifo_t</a></div><div class="ttdef"><b>Definition:</b> fifo.h:10</div></div>
<div class="ttc" id="class_c_stream_html_af56764abe8954430eede10e253f8994f"><div class="ttname"><a href="../../d4/d16/class_c_stream.html#af56764abe8954430eede10e253f8994f">CStream::read</a></div><div class="ttdeci">virtual uint8_t read()</div></div>
<div class="ttc" id="classusb_c_d_c_html_a806fa3a4be9e6cfaab51b8621cb70697"><div class="ttname"><a href="../../d6/dc5/classusb_c_d_c.html#a806fa3a4be9e6cfaab51b8621cb70697">usbCDC::enable</a></div><div class="ttdeci">bool enable()</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_d9ab3e09413249e340719d1c246acc66.html">Jason Project</a></li><li class="navelem"><a class="el" href="../../dir_e60b0d0338763df7a227cbecf5ac6106.html">Firmware</a></li><li class="navelem"><a class="el" href="../../dir_c8ef7bdfc8622ceb56fdbfff8f44a6b4.html">lpcxpresso</a></li><li class="navelem"><a class="el" href="../../dir_bc2544560b94a5512f672a61310393b1.html">ucxpresso.lite</a></li><li class="navelem"><a class="el" href="../../dir_89b485e3174b4ad30c1cd4b50a79dec9.html">uCXpresso.BLE</a></li><li class="navelem"><a class="el" href="../../dir_ef35519cefd621f663612ebad34cbfc9.html">inc</a></li><li class="navelem"><a class="el" href="../../dir_23b8956a4518e3beec6402c1bb795b19.html">class</a></li><li class="navelem"><b>usb_cdc.h</b></li>
    <li class="footer">Generated on Fri Apr 11 2014 23:43:26 for uCXpresso.BLE by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
